package com.evil.common.application.dto.process.node;

import lombok.Data;

/**
 * 节点处理人 实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
public class NodeHandlerDTO {
    /**
     * 节点id
     */
    private Long nodeId;
    /**
     * 处理人id
     */
    private Long handlerId;
    /**
     * 处理类型
     */
    private Integer handleType;

    public NodeHandlerDTO() {
    }

    public NodeHandlerDTO(Long handlerId, Integer handleType) {
        this.handlerId = handlerId;
        this.handleType = handleType;
    }

    public NodeHandlerDTO(Long nodeId, Long handlerId) {
        this.nodeId = nodeId;
        this.handlerId = handlerId;
    }

    public NodeHandlerDTO(Long nodeId, Long handlerId, Integer handleType) {
        this.nodeId = nodeId;
        this.handlerId = handlerId;
        this.handleType = handleType;
    }
}
